/*
 * Copyright 2022 Institute of Software Chinese Academy of Sciences, ISRC
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    left: 0fp;
    top: 0fp;
}

#titleContainer {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80fp;
    background-color: #e9e9e9;
/*    background-color: blue;*/
    flex: 0 0;
}

#backBtn{
    position: absolute;
    left: 20fp;
    top: 5fp;
    width: 40fp;
    height: 50fp;
}
#moreClickBtn{
    position: absolute;
    top: 5fp;
    right: 20fp;
    width: 60fp;
    height: 60fp;

}

#titleText{
    color: black;
    font-size: 22fp;
}

#chatContainer{
    background-color: #e9e9e9;
}

#messageContainer{
    width: 100%;
    padding-top: 5fp;
    padding-bottom: 5fp;
    min-height: 50fp;
}

#myMessage{
    display: flex;
    width: 100%;
}

#myProfileImgContainer{
    width: 45fp;
    height: 45fp;
    flex: 0 0;
}

#myProfileImg{
    border-radius: 7fp;
}
.popup {
    mask-color: gray;
}
.textAdd{
    color: aliceblue;
    height: 60px;
    width: 80px;
    text-align: left;
}
.myBubbles{
    background-color: #38bd38;
    min-width: 10%;
    max-width: 75%;
    border-radius: 7fp;
    padding: 20fp;
    flex: 0 0;
}

#myText{
    font-size: 25fp;
    word-break: break-all;
}

.PicMsg{
    max-height: 200fp;
    max-width: 220fp;
    object-fit: cover;
}
.emojiMsg{
    max-height: 50fp;
    max-width: 50fp;
    object-fit: cover;
}

.myFile{
    width: 50%;
    height: 120fp;
}

.myFile-left{
    position: absolute;
    left: 5fp;
    top: 10fp;
    width: 200fp;
    height: 100fp;
}

.myFile-right{
    position: absolute;
    left: 130fp;
    top: 10fp;
    width: 100fp;
    height: 100fp;
}

.myFile-left-top{
    height: 50fp;
    margin-top: 5fp;
}

.myFile-left-filename{
    font-size: 30fp;
    text-align: left;
}

.myFile-left-bottom{
    height: 40fp;
    margin-top: 20fp;
}

.myFile-left-filesize{
    font-size: 25fp;
    text-align: left;
}

.myFile-right-img{
    display: flex;
    max-height: 200fp;
    max-width: 200fp;
    object-fit: cover;
}

#friendMessage{
    display: flex;
    width: 100%;
}

#friendProfileImgContainer{
    width: 45fp;
    height: 45fp;
    flex: 0 0;
}

#friendProfileImg{
    border-radius: 7fp;
}

#friendBubble{
    background-color: white;
    min-width: 10%;
    max-width: 75%;
    border-radius: 7fp;
    padding: 20fp;
    flex: 0 0;
}

#friendText{
    font-size: 25fp;
    word-break: break-all;

}


#optionContainer{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100fp;
    align-items: center;
    flex: 0 0;
}
#optionContainer
#moreBtn{
    width: 70fp;
    height: 70fp;
    margin-right: 5fp;
    margin-left: 10fp;
    flex: 0 0;
}
#optionContainer
#textInput{
    height: 75fp;
    background-color: #e9e9e9;
    margin-left: 5fp;
    margin-right: 5fp;
    flex: 1 1;
    radius: 5fp;
    font-size: 25fp;
}

#optionContainer
#audioButton{
    text-align: center;
    height: 70fp;
    background-color: #fff;
    margin-left: 5fp;
    margin-right: 5fp;
    flex: 1 1;
    radius: 5fp;
    font-size: 22fp;
    padding-left: 35%;
}

#optionContainer
#sendBtn{
    width: 70fp;
    height: 60fp;
    background-color: #38bd38;
    margin-left: 5fp;
    margin-right: 10fp;
    font-size: 22fp;
    radius: 15fp;
    flex: 0 0;
}

#moreContainer{
    display: flex;
    height: 340fp;
    width: 100%;
    flex-direction: column;
    flex: 0 0;
}

#moreOneLine{
    display: flex;
    width: 100%;
    flex-direction: column;
    background-color: #e9e9e9;
}
#faceBox{
    width: 100%;
    height: 270fp;
    display: flex;
    flex-wrap: wrap;
    top: 20fp;
    left: 25fp;
}
.recycle{
    width: 50fp;
    height: 50fp;
}
.funcBlock{
    display: flex;
    flex-direction: column;
    width: 50fp;
    height: 100fp;
}

.funcIcon{
    width: 70fp;
    height: 70fp;
}

.funcText{
    width: 50fp;
    height: 40fp;
    font-size: 18fp;
    padding-bottom: 5fp;
    text-align: center;
}
.playText1{
    display: flex;
    align-items: center;
    justify-content: flex-end;
/*    text-align: right;*/
/*    flex-direction: row;*/
    color: gray;
    font-size: 20fp;
    padding: 10fp 15fp;
    width: 150fp;
/*    border: 1px red;*/
}

.playText2{
    display: flex;
    align-items: center;
/*    justify-content: space-around;*/
    text-align: left;
    flex-direction: row;color: gray;
    font-size: 20fp;
    padding: 10fp 15fp;
    width: 150fp;
/*    border: 1px red;*/
}
